package com.qf.co.service;

import com.qf.co.pojo.User;

/**
 * @author hanjiejie
 * @version V1.0
 * @Project java2203
 * @Package com.qf.co.service
 * @Description:
 * @Date 2022/5/27 13:49
 */
public interface UserService {
   /**
    * 查询该用户名是否已注册
    * @param username
    * @return
    */
   Boolean check (String username);
   /**
    * 注册
    * @param
    * @return
    */
   int createUser (String username,String password );

   /**
    * 登录
    * @param username
    * @param password
    * @return
    */
   User login(String username, String password);
}
